package com.cn.wang.dao;

import com.cn.wang.entry.user;
import java.util.List;
import java.util.Map;

public interface userMapper {
    int deleteByPrimaryKey(Long id);

    int insert(user record);

    user selectByPrimaryKey(Long id);

    List<user> selectAll();

    int updateByPrimaryKey(user record);
    
    user selectByName(String name);
    
    user login(Map<String, Object> map);
}